package net.huafv.authoritycontrol.admin.controller;


import jakarta.servlet.http.HttpServletRequest;
import net.huafv.authoritycontrol.common.lang.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AccountController {


    @PostMapping("/account")
    public Result login(HttpServletRequest request) {
        String username = request.getParameter("username");
        String password = request.getParameter("password");

        System.out.println(username);
        System.out.println(password);

        return Result.success("success");
    }
}
